package com.example.orderdemo.service;

import com.example.orderdemo.entity.Order;

/**
 * @author kw
 * @program cloud-alibaba-demo
 * @description 订单服务
 * @create 2024 - 06 - 29 09:31
 **/
public interface OrderService {

    /**
     * 创建订单
     * @param userId
     * @param commodity
     * @param orderCount
     * @return
     */
    Order create(String userId, String commodity, int orderCount);
}
